package com.dzx.scala.dzxbootscala.controller

import org.springframework.web.bind.annotation.{RequestMapping, RequestMethod, RestController}

/**
  * @author DuanZhaoXu
  * @ClassName:
  * @Description:
  * @date 2018年12月20日 13:56:50
  */
@RestController
class ScalaHelloBoot {

  @RequestMapping(value = Array("/sayScalaHello"),method = Array(RequestMethod.GET))
  def sayScalaHello() = {
         "say scala hello ...."
  }


}
